#pragma once

#include "FinalState.h"


namespace uml {

FinalState::FinalState(const QString& umlType)
    : State(umlType) {}

void FinalState::fromJson(const QJsonObject& json, QStringList& errorList) {
    if (json.isEmpty()) {
        return;
    }

    State::fromJson(json, errorList);
}

void FinalState::toJson(QJsonObject& json) {
    State::toJson(json);
}

} // namespace uml
